package org.linlinjava.litemall.db.domain.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.linlinjava.litemall.db.domain.LitemallActivity;
import org.linlinjava.litemall.db.domain.LitemallActivityGroupon;
import org.linlinjava.litemall.db.domain.vo.LitemallActivityRulesVo;

import java.util.List;

/**
 * 团购活动详情dto
 *
 * @author zhengjy@viomi.com.cn
 * @create 2020年12月05日 00:00
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class LitemallActivityDetailDto extends LitemallActivity {

    private List<LitemallActivityRulesVo> rulesList;
    private List<LitemallActivityGroupon> activityGrouponList;

    private List<String> subjects;

    /**
     * 主图
     */
    private String homePic;
    /**
     * 轮播图
     */
    private List<String> slideshowPic;

    /**
     * 机构介绍
     */
    private IntroduceVo orgIntroduce;
    /**
     * 活动介绍
     */
    private IntroduceVo acIntroduce;
    /**
     * 奖品介绍
     */
    private IntroduceVo goodsIntroduce;
    /**
     * 机构联系方式（转格式/n）
     */
    private String contacts;
    private String address;
    private String contactPhone;
    private String email;
    /**
     * 游戏规则
     */
    private String gameRule;

    private Long views;
    private Long applications;
    private Long shares;
    private Long groupons;

    private String addBy;

    @Data
    @EqualsAndHashCode(callSuper = false)
    public static class IntroduceVo {
        private String text;

        private List<String> pics;
    }

}
